1. Go to directory /home/xtreamcodes/iptv_xtream_codes/isp on your MAIN SERVER
2. Put all files from this zip to that folder:
api.php
apibackup.txt
errors.txt


3. Go to /home/xtreamcodes/iptv_xtream_codes/nginx/conf/ on your MAIN SERVER
4. Edit file nginx.conf 
5. At the end of nginx.conf file before last } , add this: 


server {
        listen 8805;
         root /home/xtreamcodes/iptv_xtream_codes/isp/;

        location ~ \.php$ {
		    allow 127.0.0.1;
            deny all;
            limit_req zone=one burst=8;
            try_files $uri =404;
            fastcgi_index index.php;
            fastcgi_pass php;
            include fastcgi_params;
            fastcgi_buffering on;
            fastcgi_buffers 96 32k;
            fastcgi_buffer_size 32k;
            fastcgi_max_temp_file_size 0;
            fastcgi_keep_conn on;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            fastcgi_param SCRIPT_NAME $fastcgi_script_name;
        }
    }


6. On panel, in Main server settings, set ISP port to 8805 if it's not already
7. Reboot your main server


Script is working on February 2023

Enjoy, terminatortv